<?php

class Social_Base extends System_Data_Mapper
{
    private $_auth = array();

    public function auth($sessionKey)
    {
        if(!isset($this->_auth[$sessionKey])) {
            $userService = $this->getService('Social.User');
            $this->_auth[$sessionKey] = $userService->auth($sessionKey);
        }
        return $this->_auth[$sessionKey];
    }
}
